Network Commands

Linux network Commands:

ifconfig:

  • legacy version of showing interface and IP configuration on device on host machine

Pasted image 20250618205212.png

ip a

  • ip addressing its the new version of ifconfig show ip config and interfaces on host machine
    Pasted image 20250618205236.png

ip n: ip neighbors its same as using Arp

  • Arp == Address Resolution Protocol:
  • its a protocol used to find Mac Address of its given IP Address.

ip r

  • shows routing table information
    Pasted image 20250618210039.png